package com.aaa.sso.fegin;

import com.aaa.entity.Menu;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "his-open-system")
public interface MenuFegin  {
    @GetMapping("/system/menu/findByUserid/{userId}")
    public List<Menu> findByUserid(@PathVariable Long userId);
}
